﻿namespace GoodAdmin.System;

public class SysMenuSeedData : ISqlSugarEntitySeedData<SysMenu>
{
    public IEnumerable<SysMenu> HasData()
    {
        return new[]
        {
            new SysMenu{ Id=1300000001001, ParentId=0, Title="首页", Path="/home", Name="home", Component="/home/index",  Icon="ele-HomeFilled", MenuType=CommonConst.MENUTYPE_MENU,IsKeepAlive=true, CreateTime=DateTime.Now,SortCode=0 },
            new SysMenu{ Id=1300000001101, ParentId=0, Title="工作台", Path="/dashboard", Name="dashboard", Component="Layout",  Icon="ele-HomeFilled", MenuType=CommonConst.MENUTYPE_DIRCTORY, CreateTime=DateTime.Now,SortCode=10 },
            
            new SysMenu { Id = 1310000001001, ParentId = 0, Title = "系统管理", Path = "/system", Name = "system", Component = "layout/routerView/parent", Icon = "ele-Setting", MenuType = CommonConst.MENUTYPE_DIRCTORY, CreateTime = DateTime.Now, SortCode = 20 },
            new SysMenu { Id = 1310000001101, ParentId = 1310000001001, Title = "用户管理", Path = "/system/user", Name = "systemUser", Component = "/system/user/index", Icon = "ele-User", IsKeepAlive = true, MenuType = CommonConst.MENUTYPE_MENU, CreateTime = DateTime.Now, SortCode = 21 },
            new SysMenu { Id = 1310000001102, ParentId = 1310000001101, Title = "查询", Path = "system:user:page", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001103, ParentId = 1310000001101, Title = "编辑", Path = "system:user:update", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001104, ParentId = 1310000001101, Title = "增加", Path = "system:user:add", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001105, ParentId = 1310000001101, Title = "删除", Path = "system:user:delete", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001106, ParentId = 1310000001101, Title = "详情", Path = "system:user:detail", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001107, ParentId = 1310000001101, Title = "授权角色", Path = "system:user:grantRole", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001108, ParentId = 1310000001101, Title = "重置密码", Path = "system:user:resetPassword", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001109, ParentId = 1310000001101, Title = "设置状态", Path = "system:user:changeStatus", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },

            new SysMenu { Id = 1310000001200, ParentId = 1310000001001, Title = "组织管理", Path="/system/org", Name="systemOrg", Component="/system/org/index", Icon="iconfont icon-shuxing",IsKeepAlive=true, MenuType=CommonConst.MENUTYPE_MENU, CreateTime=DateTime.Now,SortCode=22},
            new SysMenu { Id = 1310000001201, ParentId = 1310000001200, Title = "查询", Path="system:org:page", MenuType=CommonConst.MENUTYPE_BUTTON, CreateTime=DateTime.Now },
            new SysMenu { Id = 1310000001202, ParentId = 1310000001200, Title = "编辑", Path = "system:org:update", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001203, ParentId = 1310000001200, Title = "增加", Path = "system:org:add", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001204, ParentId = 1310000001200, Title = "删除", Path = "system:org:delete", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001205, ParentId = 1310000001200, Title = "详情", Path = "system:org:detail", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },

            new SysMenu { Id = 1310000001300, ParentId = 1310000001001, Title = "角色管理", Path="/system/role", Name="systemRole", Component="/system/role/index", Icon="ele-Avatar",IsKeepAlive=true, MenuType=CommonConst.MENUTYPE_MENU, CreateTime=DateTime.Now,SortCode=23},
            new SysMenu { Id = 1310000001301, ParentId = 1310000001300, Title = "查询", Path="system:role:page", MenuType=CommonConst.MENUTYPE_BUTTON, CreateTime=DateTime.Now },
            new SysMenu { Id = 1310000001302, ParentId = 1310000001300, Title = "编辑", Path = "system:role:update", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001303, ParentId = 1310000001300, Title = "增加", Path = "system:role:add", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001304, ParentId = 1310000001300, Title = "删除", Path = "system:role:delete", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001305, ParentId = 1310000001300, Title = "授权菜单", Path = "system:role:grantRoleMenus", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001306, ParentId = 1310000001300, Title = "授权资源", Path = "system:role:grantRoleResource", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001307, ParentId = 1310000001300, Title = "授权用户", Path = "system:role:grantRoleUser", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },

            new SysMenu { Id = 1310000001400, ParentId = 1310000001001, Title = "职位管理", Path="/system/position", Name="systemPosition", Component="/system/position/index", Icon="ele-Position",IsKeepAlive=true, MenuType=CommonConst.MENUTYPE_MENU, CreateTime=DateTime.Now,SortCode=24},
            new SysMenu { Id = 1310000001401, ParentId = 1310000001400, Title = "查询", Path="system:position:page", MenuType=CommonConst.MENUTYPE_BUTTON, CreateTime=DateTime.Now },
            new SysMenu { Id = 1310000001402, ParentId = 1310000001400, Title = "编辑", Path = "system:position:update", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001403, ParentId = 1310000001400, Title = "增加", Path = "system:position:add", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001404, ParentId = 1310000001400, Title = "删除", Path = "system:position:delete", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001405, ParentId = 1310000001400, Title = "详情", Path = "system:position:detail", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },

            new SysMenu { Id = 1310000001500, ParentId = 1310000001001, Title = "菜单管理", Path="/system/menu", Name="systemMenu", Component="/system/menu/index", Icon="ele-Memo",IsKeepAlive=true, MenuType=CommonConst.MENUTYPE_MENU, CreateTime=DateTime.Now,SortCode=25},
            new SysMenu { Id = 1310000001501, ParentId = 1310000001500, Title = "查询", Path="system:menu:page", MenuType=CommonConst.MENUTYPE_BUTTON, CreateTime=DateTime.Now },
            new SysMenu { Id = 1310000001502, ParentId = 1310000001500, Title = "编辑", Path = "system:menu:update", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001503, ParentId = 1310000001500, Title = "增加", Path = "system:menu:add", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001504, ParentId = 1310000001500, Title = "删除", Path = "system:menu:delete", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001505, ParentId = 1310000001500, Title = "详情", Path = "system:menu:detail", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },

            new SysMenu { Id = 1310000001600, ParentId = 1310000001001, Title = "字典管理", Path="/system/dictData", Name="systemDict", Component="/system/dict/index", Icon="ele-Memo",IsKeepAlive=true, MenuType=CommonConst.MENUTYPE_MENU, CreateTime=DateTime.Now,SortCode=26},
            new SysMenu { Id = 1310000001601, ParentId = 1310000001600, Title = "分页查询", Path="system:dictData:page", MenuType=CommonConst.MENUTYPE_BUTTON, CreateTime=DateTime.Now },
            new SysMenu { Id = 1310000001602, ParentId = 1310000001600, Title = "编辑", Path = "system:dictData:update", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001603, ParentId = 1310000001600, Title = "增加", Path = "system:dictData:add", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001604, ParentId = 1310000001600, Title = "删除", Path = "system:dictData:delete", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001605, ParentId = 1310000001600, Title = "详情", Path = "system:dictData:detail", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            new SysMenu { Id = 1310000001606, ParentId = 1310000001600, Title = "字典数据列表", Path = "system:dictData:list", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            //new SysMenu { Id = 1310000001607, ParentId = 1310000001600, Title = "添加字典类型", Path = "system:dictType:add", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            //new SysMenu { Id = 1310000001608, ParentId = 1310000001600, Title = "删除字典类型", Path = "system:dictType:delete", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            //new SysMenu { Id = 1310000001609, ParentId = 1310000001600, Title = "修改字典类型", Path = "system:dictType:update", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },
            //new SysMenu { Id = 1310000001610, ParentId = 1310000001600, Title = "获取字典类型树", Path = "system:dictType:tree", MenuType = CommonConst.MENUTYPE_BUTTON, CreateTime = DateTime.Now },

            new SysMenu { Id = 1310000001700, ParentId = 1310000001001, Title = "系统配置", Path="/system/config", Name="systemConfig", Component="/system/config/index", Icon="ele-Memo",IsKeepAlive=true, MenuType=CommonConst.MENUTYPE_MENU, CreateTime=DateTime.Now,SortCode=27},
        };
    }        
}
